<template>
  <div>
    a标签跳转<br/>
    id:{{$route.params.id}}<br/>
    name:{{$route.params.name}}
  </div>
</template>
<script>
  export default {
    components: {},
    data () {
      return {}
    },
    mounted () {
      console.log(this.$route.params.id)
      console.log(this.$route.params.name)
    },
    methods: {}
  }
</script>
<style>

</style>
